#include #include using namespace std; class cylinder{ private: double r, h; double value; public: cylinder(double R, double H); void vol(); }; cylinder::cylinder(double R, double H){ r=R; h=H; value=M_PI*(pow(r,2))*h; } void cylinder::vol(){ cout<<"The value is:"<